<div class="container">
    <form action="/edit" method="post">
        <div class="form-group">
            <label for="exampleInputPassword1">姓名</label>
            <input type="text" name="name" value="{{ name }}" class="form-control" placeholder="姓名">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">班级</label>
            <input type="text" name="class_name" value="{{ class_name }}" class="form-control" placeholder="班级">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">爱好</label>
            <input type="text" name="hobby" value="{{ hobby }}"  class="form-control" placeholder="爱好">
        </div>
        <input type="hidden" name="id" value="{{ id }}"/>
        <div class="text-center">
            <button type="submit" class="btn btn-primary">提交</button>
            <button type="reset" class="btn btn-secondary">重置</button>
        </div>
    </form>
</div>